home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / tools / qmake.com / QMAKE.DOC < prev    next >
Encoding:
Text File  |  1988-07-02  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.         ______________________________________
  4.  
  5.         Q M A K E . D O C             07/02/88
  6.         ______________________________________
  7.  
  8.  
  9.  
  10.     DESCRIPTION
  11.  
  12.         The accompanying file, QMAKE.EXE is an intermediate step
  13.         between Sammy Mitchell's excellent editor QEdit and the
  14.         MAKE.EXE utility that's supplied by many manufacturers.
  15.         It will allow you to press a key while editing a program
  16.         source file, and automatically invoke your MAKE utility
  17.         with that current filename (minus its extension) as the
  18.         argument for MAKE.
  19.  
  20.  
  21.     USAGE
  22.  
  23.         As written, QMAKE expects your makefile to be named the
  24.         same as the file you are editing, but with no extension.
  25.         This is a convention used by many programmers.
  26.             If the file you are editing IS the makefile, QMAKE
  27.         is smart enough to realize that there is no extension,
  28.         and it will invoke MAKE using the current filename.
  29.         Thus, in a program that's developed from multiple source
  30.         files, you can (also) load the makefile into QEdit and
  31.         rebuild the program using your macro keypress, no matter
  32.         what your naming convention for the multiple files.
  33.             You'll want to install a macro into QEdit that will
  34.         call upon QMAKE to build your programs.  I assigned the
  35.         macro to <Alt-K>, an unused keybinding in the original
  36.         QCONFIG.DAT file.  It is somewhat mnemonic, if you
  37.         consider make to be spelled maKe.  An example of such a
  38.         macro looks like this, and must be one line in your
  39.         QCONFIG.DAT file, though it is split into three here
  40.         for readability:
  41.  
  42.                 @k macro_begin save_file
  43.                    dos 'QMAKE C:\BOUND\MAKE.EXE '
  44.                    current_filename return
  45.  
  46.         If you prefer to assign to a different key, change the @k
  47.         to any other unused key in your QCONFIG.DAT file.
  48.  
  49.  
  50.     COPYRIGHT
  51.  
  52.         Neither this program nor its documentation nor source
  53.         file is copyrighted.  It is released to the public domain
  54.         for all to use.  But please be good enough to distribute
  55.         the original files in the original archive.  If you
  56.         improve upon this program and distribute your files, name
  57.         them something else and give credit to previous author(s)
  58.         for any sections that are not yours.
  59.              Source code is included in QMAKE.C, written for
  60.         Microsoft C v5.1, but it is really quite nonspecific.  If
  61.         you need to modify the way this program works, you should
  62.         be able to do so and recompile with nearly any C system.
  63.  
  64.                        __________________________
  65.  
  66.     Jerry Houston - COLLEGE CORNER BBS - Bellevue, WA  - (206) 643-0804
  67.